﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    // Entity Quyen map with SanPham Table
    public class Quyen
    {
        // properties
        private int maQuyen;
        private string tenQuyen;
        // Setters and Getters
        
        public int MaQuyen
        {
            get { return maQuyen; }
            set { maQuyen = value; }
        }
        public string TenQuyen
        {
            get { return tenQuyen; }
            set { tenQuyen = value; }
        }
        // Constructors
        public Quyen()
        {
 
        }
        public Quyen(int maQuyen, string tenQuyen)
        {
            this.maQuyen = maQuyen;
            this.tenQuyen = tenQuyen;
        }
    }
}
